home *** CD-ROM | disk | FTP | other *** search
/ Megahits 5 / Megahits 5 (1994)(GTI - Rhein-Main-Soft)(DE)(Disc 2 of 2)[!].iso / archive / edit / vtmain10.lha / VideoTracker_Install next >
Text File  |  1993-08-12  |  2KB  |  83 lines

  1. ;VideoTracker HD install for Kick 2.0 and higher
  2.  
  3. .key test/s,full/s
  4. .bra [
  5. .ket ]
  6.  
  7. echo "*Ec*N                   VideoTracker HD Installation*N"
  8.  
  9. ;version >NIL: 37
  10. ;if warn
  11. ;echo "You must be using 2.0 Kickstart or higher to install VideoTracker !"
  12. ;skip end
  13. ;endif
  14.  
  15. lab nameloop
  16.   echo "Type the name of your Workbench (SYS:) partition (Q to quit) ? " noline
  17.   set >NIL: target ?
  18.   if "$target" EQ "Q"
  19.       skip exit
  20.   endif
  21.  
  22.   if "`echo $target len 1`" NOT EQ ":"
  23.     set target $target:
  24.   endif
  25.  
  26.   if "${target}" EQ "SYS:"
  27.     echo "Error:  cannot install to the VideoTracker disk."
  28.     echo "Please give the volume name of your SYS: partition.*N"
  29.     skip back nameloop
  30.   endif
  31.  
  32.   assign >NIL: exists "${Target}"
  33.   if warn
  34.     echo "Error: partition does not exist.  The partition may not"
  35.     echo "be mounted, or the driver for your card may not have"
  36.     echo "been started.  If this is the case, you will need to"
  37.     echo "copy the driver into the Expansion drawer of this disk,"
  38.     echo "or perform the mount by hand before starting this Install.*N"
  39.     skip back nameloop
  40.   endif
  41.  
  42. lab partok
  43.  
  44. assign Target: "${Target}"
  45.  
  46.   copy VT:VideoTracker Target:VideoTracker all    ;copy all effect data
  47.   copy VT:Fonts Target:Fonts all        ;and the fonts
  48.  
  49. if not exists Target:VideoTracker.info        ;and the drawer-info
  50.   copy VT:VideoTracker.info Target:        ;if necessary
  51. endif
  52.   
  53.  
  54. if exists VT:S                    ;VT main disk ?
  55.  
  56.   copy VT:VideoTracker_Install Target:
  57.  
  58. if not exists Target:VideoTracker_Install.info ;and the installer for
  59.   copy VT:VideoTracker_Install.info Target:    ;data disks !
  60. endif
  61.  
  62.   if not exists Target:C/View            ;the text-viewer
  63.    copy VT:C/View Target:C
  64.   endif
  65.  
  66.   if not exists Target:S/View80.config        ;text-viewer configuration
  67.    copy VT:S/View80.config Target:S
  68.   endif
  69.  
  70.   copy VT:Libs/iff.library Target:Libs         ;newest version needed !
  71.  
  72.   if not exists Target:Libs/req.library
  73.    copy VT:Libs/req.library Target:Libs        ;req.library for kick 1.3
  74.   endif
  75.   if not exists Target:Libs/powerpacker.library
  76.    copy VT:Libs/powerpacker.library Target:Libs    ;for powerpacked modules
  77.   endif
  78.  
  79. endif
  80.  
  81. lab exit
  82.   echo "*N Finished"
  83.